<form id="add-form" class="form-horizontal" role="form" data-toggle="validator" method="POST" action="">

    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('代理商手机号')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-mobile" class="form-control" name="row[mobile]" type="number" value="">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('商户号')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-mno" class="form-control" name="row[mno]" type="text" value="">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('分账比例')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-ratio" class="form-control" name="row[ratio]" type="number" value="">
        </div>
    </div>


    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('交易类型')}:</label>
        <div class="col-xs-12 col-sm-8">
            <select  id="c-type"  class="form-control selectpicker" name="row[type]">
                <option value="1" >主交易账户</option>
                <option value="-1" >分账账户</option>
            </select>
        </div>
    </div>


    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('支付渠道')}:</label>
        <div class="col-xs-12 col-sm-8">
            {:build_radios('row[channel]', ['sxf'=>__('随行付'), 'xs'=>__('新生支付')], 'sxf')}
        </div>
    </div>
    <div class="form-group layer-footer">
        <label class="control-label col-xs-12 col-sm-2"></label>
        <div class="col-xs-12 col-sm-8">
            <button type="submit" class="btn btn-primary btn-embossed disabled">{:__('OK')}</button>
        </div>
    </div>
</form>
